package com.bootdo.lvyou.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 非遗表
 * 
 * @author lujingqian
 * @email 965858129@qq.com
 * @date 2019-10-11 16:22:07
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class LvyouFeiyi extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//城市id
		@HapiFeild("城市id")
	private Long cityId;
	
	//城市名称
		@HapiFeild("城市名称")
	private String cityName;
	
	//非遗名称
		@HapiFeild("非遗名称")
	private String name;
	
	//地图图标
		@HapiFeild("地图图标")
	private String mapIcon;
	
	//封面图
		@HapiFeild("封面图")
	private String coverImg;
	
	//级别
		@HapiFeild("级别")
	private Integer level;
	
	//纬度
		@HapiFeild("纬度")
	private Double lat;
	
	//经度
		@HapiFeild("经度")
	private Double lng;
	
	//内容
		@HapiFeild("内容")
	private String text;
	
	//地址
		@HapiFeild("地址")
	private String site;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;

   //显示隐藏
		@HapiFeild("显示隐藏")
	private Integer isShow;

	//简单介绍
		@HapiFeild("简单介绍")
	private String presentation;

	@NotColumn @HapiFeild("位置距离")
	private Double distance;
    public LvyouFeiyi(){
    
    	this.createTime = new Date();
		this.lat = 0.00;
		this.lng = 0.00;
    }

	public Integer getIsShow() {
		return isShow;
	}

	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}

	public String getPresentation() {
		return presentation;
	}

	public void setPresentation(String presentation) {
		this.presentation = presentation;
	}

	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：城市id
	 */
	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}
	/**
	 * 获取：城市id
	 */
	public Long getCityId() {
		return cityId;
	}
	/**
	 * 设置：城市名称
	 */
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	/**
	 * 获取：城市名称
	 */
	public String getCityName() {
		return cityName;
	}
	/**
	 * 设置：非遗名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：非遗名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：地图图标
	 */
	public void setMapIcon(String mapIcon) {
		this.mapIcon = mapIcon;
	}
	/**
	 * 获取：地图图标
	 */
	public String getMapIcon() {
		return mapIcon;
	}
	/**
	 * 设置：封面图
	 */
	public void setCoverImg(String coverImg) {
		this.coverImg = coverImg;
	}
	/**
	 * 获取：封面图
	 */
	public String getCoverImg() {
		return coverImg;
	}
	/**
	 * 设置：级别
	 */
	public void setLevel(Integer level) {
		this.level = level;
	}
	/**
	 * 获取：级别
	 */
	public Integer getLevel() {
		return level;
	}
	/**
	 * 设置：纬度
	 */
	public void setLat(Double lat) {
		this.lat = lat;
	}
	/**
	 * 获取：纬度
	 */
	public Double getLat() {
		return lat;
	}
	/**
	 * 设置：经度
	 */
	public void setLng(Double lng) {
		this.lng = lng;
	}
	/**
	 * 获取：经度
	 */
	public Double getLng() {
		return lng;
	}
	/**
	 * 设置：内容
	 */
	public void setText(String text) {
		this.text = text;
	}
	/**
	 * 获取：内容
	 */
	public String getText() {
		return text;
	}
	/**
	 * 设置：地址
	 */
	public void setSite(String site) {
		this.site = site;
	}
	/**
	 * 获取：地址
	 */
	public String getSite() {
		return site;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
